package controller
{
    import model.UserProxy;

    import org.puremvc.as3.interfaces.INotification;
    import org.puremvc.as3.patterns.command.SimpleCommand;

    public class UserAuthorizationCommand extends SimpleCommand
    {
        override public function execute(notification:INotification):void
        {
            super.execute(notification);
            var userProxy:UserProxy = facade.retrieveProxy(UserProxy.NAME) as UserProxy;
            userProxy.checkAuthorization();
        }
    }
}
